/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package pkg1;

import java.util.ArrayList;

/**
 * Objects of this class store information about a template
 * @author Nick
 */
public class FloorTemplateData {
    //The rooms of a template
    private ArrayList<Room> rooms = new ArrayList<Room>();
    //The beds of a template
    private ArrayList<Bed> beds = new ArrayList<Bed>();
    //The id of a template
    private String id;
    
    /**
     * constructor for a tmeplates information
     * @param rooms
     * @param beds
     * @param id 
     */
    public FloorTemplateData(ArrayList<Room> rooms, ArrayList<Bed> beds, String id) {
        this.rooms = rooms;
        this.beds = beds;
        this.id = id;
    }
    
    /**
     * gets the rooms
     * @return 
     */
    public ArrayList<Room> getRooms() {
        return rooms;
    }
    
    /**
     * gets the beds
     * @return 
     */
    public ArrayList<Bed> getBeds() {
        return beds;
    }
    
    /**
     * gets the name of the template
     * @return 
     */
    public String getId() {
        return id;
    }
    
}
